package DTcode;


import java.util.Vector ;

public class Syndrome {
	
	private String synName ;
	private Vector<Symptom> symptom ;
	
	public Syndrome( String sName ) {
	
		this.synName = sName ;
		this.symptom = new Vector<Symptom>() ;
	} // end Syndrome()
	
	public void AddSymptomList( String str ) {
		
		Symptom sym = new Symptom(str) ;
		this.symptom.add(sym) ;
	} // end AddSymptomList() 
	
	public String getSynName() {
		
		return this.synName ;
	} // end getSynName()
	
	public Symptom getSymptom( int num ) {
		
		return this.symptom.get(num) ;
	} // end  getSymptom()
	
	public int getSymptomListSize() {
		
		return this.symptom.size() ;
	} // end getSymptomListSize()
	
	
	
} // end class
